﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>问题详细内容 查看/修改</title>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/jspublic.js" type="text/javascript"></script>
<script src="js/easyui/jquery.easyui.js" type="text/javascript"></script>
<script src="js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/js/redactor/redactor.min.js" type="text/javascript"></script>
<link href="/js/redactor/redactor.css" rel="stylesheet" type="text/css" />
<link href="style/right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	$(function(){
		
		if (window.frameElement == null) self.location = '/manage';
		
		$('.contentbox textarea').redactor({ focus: true, lang: 'zh_cn', minHeight: 250 });
	
	});	
</script>
</head>

<body>
<div class="zs_content">

	<div class="zs_quota">
		<h4>问题详细内容 查看/修改</h4>
	</div>
	
	<div class="zs_sys">
		<form action="admin_update.aspx?T=b_ask_update&id=[id]" method="post" name="form1">
		{liebiao:B_ask^0^a_id desc^a_id=[id]}
		<ul>
			<li>
				<label>问题标题：</label>
				<div class="controls">
					<input type="text" name="asktitle" id="asktitle" value="{a_title}" />
				</div>
			</li>
			<li>
				<label>内容：</label>
				<div class="controls">
					<div class="contentbox">
						<textarea name="askcontent" id="askcontent">{a_content}</textarea>
					</div>
				</div>
			</li>
			<li>
				<label>发布人：</label>
				<div class="controls">
					<a href="admin_urls.aspx?template=template/t_admin_user_info.html&id={u_id}">{g:B_user$u_nickName@u_id={u_id}}</a>
				</div>
			</li>
			<li>
				<label>发布时间：</label>
				<div class="controls">
					<input type="datetime" name="a_time" id="a_time" value="{a_time}" />
				</div>
			</li>
			<li>
				<label>所属分类：</label>
				<div class="controls">
					<span>{g:B_askClass$a_className@a_classid={a_classid}}</span>
				</div>
			</li>
			<li>
				<label>关键词：</label>
				<div class="controls">
					<input type="text" name="askkeyword" id="askkeyword" value="{a_keyword}" />
				</div>
			</li>
			<li>
				<label>是否审核：</label>
				<div class="controls">
					<span>{ruguo:{a_ischeck}==0}通过{fouze}未通过{/ruguo}</span>
				</div>
			</li>
			<li>
				<label>问题状态：</label>
				<div class="controls">
					<input name="a_state" type="radio"  value="1" {ruguo:{a_state}==1}checked{fouze}{/ruguo} /><span>已解决</span>
					<input name="a_state" type="radio" value="0" {ruguo:{a_state}==0}checked{fouze}{/ruguo} /><span>未解决</span>
					<input name="a_state" type="radio" value="2" {ruguo:{a_state}==2}checked{fouze}{/ruguo} /><span>已关闭</span>
				</div>
			</li>
			<li>
				<label>是否专题：</label>
				<div class="controls">
					<span>{ruguo:{a_recommend}==1}是{fouze}否{/ruguo}</span>
				</div>
			</li>
			<li class="act">
				<label></label>
				<div class="controls">
					<input type="submit" id="Submit" name="Submit" value="更新" class="btn btn-primary" />
					<input type="button" name="back" value="返回" class="btn btn-primary" onclick="javascript:window.history.go(-1);" />
				</div>
			</li>
		</ul>
		{/liebiao}
		</form>
	</div>
	
</div>
	
</body>
</html>